//-------------------------------------------------------------------------
/**
   File:   Variant.hpp

   Descr.: - todo -

   Author: Stefan Leihkauf
   Date:   11.08.2013
*/
//-------------------------------------------------------------------------


//-----------------------------------------------------------------------------
template <>
inline void Variant::setValue(const bool& value)
{
	_data._bool = value;
}

//-----------------------------------------------------------------------------
template <>
inline void Variant::setValue(const char& value)
{
	_data._char = value;
}

//-----------------------------------------------------------------------------
template <>
inline void Variant::setValue(const unsigned char& value)
{
	_data._uchar = value;
}

//-----------------------------------------------------------------------------
template <>
inline void Variant::setValue(const short& value)
{
	_data._short = value;
}

//-----------------------------------------------------------------------------
template <>
inline void Variant::setValue(const unsigned short& value)
{
	_data._ushort = value;
}

//-----------------------------------------------------------------------------
template <>
inline void Variant::setValue(const int& value)
{
	_data._int = value;
}

//-----------------------------------------------------------------------------
template <>
inline void Variant::setValue(const unsigned int& value)
{
	_data._uint = value;
}

//-----------------------------------------------------------------------------
template <>
inline void Variant::setValue(const long& value)
{
	_data._long = value;
}

//-----------------------------------------------------------------------------
template <>
inline void Variant::setValue(const unsigned long& value)
{
	_data._ulong = value;
}

//-----------------------------------------------------------------------------
template <>
inline void Variant::setValue(const long long& value)
{
	_data._longlong = value;
}

//-----------------------------------------------------------------------------
template <>
inline void Variant::setValue(const unsigned long long& value)
{
	_data._ulonglong = value;
}

//-----------------------------------------------------------------------------
template <>
inline void Variant::setValue(const float& value)
{
	_data._float = value;
}

//-----------------------------------------------------------------------------
template <>
inline void Variant::setValue(const double& value)
{
	_data._double = value;
}